<!DOCTYPE html>

<div>test</div>

<style>
  body {
      width: 100px; height: 300px;
      position: absolute;
      -moz-transform: scale(0.5);
  }
  div { position: absolute; }
</style>
